package com.qf.service;

import com.qf.model.Farm;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;

import java.util.List;

public interface FarmService {

    List<Farm> getAll();

    PageResult findPage(QueryPageBean queryPageBean);

    int addFarm(Farm farm);

    Farm findById(int id);

    int edit(Farm farm);

    int deleteById(Integer id);
}
